package com.bookseek.xreader.consts;

import android.graphics.Color;
import android.text.style.ForegroundColorSpan;

public class XreaderConts {
    public static String TAG = "DXM_NB";

    public static Integer TMETA_BTYPE_SHICI =  1;
    public static Integer TMETA_BTYPE_DIANJI =  2;
    public static Integer TMETA_BTYPE_RES =  3;//资源型



    public static Integer TMETA_PLAT_YNOTE =  1;
    public static Integer TMETA_PLAT_CF =  2;
    public static Integer TMETA_PLAT_GI =  3;
    //成功处理 下载完毕，且插入到 fts5 才算成功
    public static Integer TMETA_DLAG_OK =  1;
    public static Integer TMETA_DLAG_TODO =  0;

    public static Integer DB_BATCH_SIZE = 200;

    public static Integer BOOK_DB_BATCH_SIZE = 50;

    public static String BTYPE_SHICI= "btype_shici";

    public static String BTYPE_DIANJI= "btype_dianji";

    //文本高亮颜色
    public static ForegroundColorSpan HIGHLIGHT_TEXT_COLOR = new ForegroundColorSpan(Color.parseColor("#07C160"));
    //墨黑颜色
    public static ForegroundColorSpan FIRST_TEXT_COLOR = new ForegroundColorSpan(Color.parseColor("#121212"));
    //灰色
    public static ForegroundColorSpan SECOND_TEXT_COLOR = new ForegroundColorSpan(Color.parseColor("#888888"));

    public static int DIVIDER_COLOR = Color.parseColor("#FFE0E0E0");

    //默认颜色
    public static int  WY_TYPE_WEN_DEFAULT_COLOR = Color.parseColor("#121212");
    //黑色背景时 正文颜色
    public static int  WY_TYPE_WEN_DEFAULT_WHITE_COLOR = Color.parseColor("#ffffff");
    public static int  WY_TYPE_YI_DEFAULT_COLOR = Color.parseColor("#1296db");



    public static int WY_TYPE_WEN = 0;//正文
    public static int WY_TYPE_YI = 1;//翻译



}
